package com.app.designpattern.structural.decorator.v1;

/**
 * USER: zjw
 * DATA: 2019/4/15 0015
 * TIME: 下午 2:09
 */
public class BattercakeWithEgg extends Battercake {
    @Override
    public String desc() {
        return super.desc() + " 加一个鸡蛋";
    }

    @Override
    public int cost() {
        return super.cost() + 1;
    }
}
